package com.xlh.service.conclude;

import com.github.pagehelper.PageInfo;
import com.xlh.dto.conclude.ConcludeParamDTO;
import com.xlh.dto.course.ClassZtreeDTO;
import com.xlh.vo.conclude.ConCludeClassStudentVO;
import com.xlh.vo.conclude.StudentListInfoVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ConcludeStudentService {

    /**
     * 学生列表展示
     * @param pageNum
     * @param pageSize
     * @param conclude
     * @param className
     * @return
     */
    PageInfo<StudentListInfoVO> list(Integer pageNum, Integer pageSize, Long conclude, String className);


    /**
     * 查询班级名称
     * @param concludeId
     * @return
     */
    List<String> classList(Long concludeId, String className);

    /**
     * 更新学生
     * @param dto
     */
    void update(StudentListInfoVO dto);

    /**
     * 学生批量删除接口
     * @param stuIds
     */
    void delete(List<ConcludeParamDTO> stuIds);


    /**
     * 从excel导入数据
     * @param concludeId
     * @param file
     */
    void importExcel(Long concludeId, MultipartFile file);


    /**
     * 班级导入
     * @param students
     * @param concludeId
     * @param classId
     */
    void classImport(List<Long> students, Long concludeId, Long classId);

    /**
     * 查询班级下的学生信息
     * @param classId
     * @param concludeId
     * @return
     */
    List<ConCludeClassStudentVO> classStudents(Long classId, Long concludeId);

}
